package com.netease.nie.base.data;

/**
 * 
 * @author KingsHunter
 * @createDate June 16th,2016
 *
 */
public enum DBReadMethodType {

	QUERY,SELECT,GET,LIST,FIND,COUNT;
	
	public static boolean isReadType(String methodName) {
		
		for (DBReadMethodType dbReadMethodType : DBReadMethodType.values()) {
			if (methodName.startsWith((dbReadMethodType.name().toLowerCase())))
				return true;
		}
		return false;
	}
}
